Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBase<T> Class / Item Property


In This Topic
    Item Property (ListBase<T>)
    In This Topic
    Gets or sets the element at the specified index.
    Syntax
    'Declaration
     
    
    Public Overridable Default Property Item( _
       ByVal index As Integer _
    ) As T
    'Usage
     
    
    Dim instance As ListBase(Of T)
    Dim index As Integer
    Dim value As T
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    public virtual T this[ 
       int index
    ]; {get; set;}

    Parameters

    index

    Property Value

    The element at the specified index.
    See Also